﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls
{
    /// <summary>
    /// 下拉框的数组内容为无和有
    /// </summary>
    public partial class CustomComBoxWuYouCtrl : BaseDropDownCtrl
    {
        public CustomComBoxWuYouCtrl()
        {
            InitializeComponent();
            InitialQtQingKuang();
        }
        private void InitialQtQingKuang()
        {
            List<CommonComboboxItemModel> list = new List<CommonComboboxItemModel>()
            {
                new CommonComboboxItemModel() { Behind=" ",Display=" " },
                new CommonComboboxItemModel() { Behind="有",Display="有" },
                 new CommonComboboxItemModel() { Behind="无",Display="无" },
            };
            this._wuyouCmp.ItemsSource = list;


        }

    }
}
